module.exports = {
  userFormateError: {
    code: '10001',
    message: '用户名或者密码为空',
    result: '',
  },

  userAlreadyExited: {
    code: '10002',
    message: '用户已经存在',
    result: '',
  },
  userRegisterError:{
    code:'10003',
    message:'用户注册错误',
    result:''
  },
  userIsundefined:{
    code:'10004',
    message:'用户不存在',
    result:''
  },
userLoginError:{
    code:'10005',
    message:'用户登录失败',
    result:''
  },
  userPasswordError:{
    code:'10006',
    message:'用户密码错误',
    result:''
  },
  tokenExpiredError:{
    code:'10101',
    message:'token已经过期',
    result:''
  },
  invalidToken:{
    code:'10102',
    message:'无效的token',
    result:''
  },
  hasNotAdminPermission:{
    code:'10103',
    message:'该用户没有管理员权限',
    result:''
  },
  fileUploadError:{
    code:'10008',
    message:'上传文件失败',
    result:''
  },
  fileTypeError:{
    code:'10009',
    message:'文件类型不正确啊',
    result:''
  },
  goodsFormatError:{
    code:'10010',
    message:'参数错误',
    result:''
  },
  publishGoodsError:{
    code:'10204',
    message:'发布商品出错',
    result:''
  },
  updateErrorGoods:{
    code:'10205',
    message:'修改商品错误',
    result:''
  },
  invalidGoodsID:{
    code:'10206',
    message:'参数无效',
    result:''
  },
  deleteGoodsError:{
    code:'10207',
    message:'删除商品失败',
    result:''
  },
  restpreErrpr:{
    code:'10208',
    message:'上架商品失败',
    result:''
  }
}
